package com.springboot.astra.bean;

public class Postbody {
    private Integer postbodyId;
    private Integer postmainId;
    private String body;
    private Boolean isDelete;

    public Postbody() {
    }

    public Postbody(Integer postbodyId, Integer postmainId, String body, Boolean isDelete) {
        this.postbodyId = postbodyId;
        this.postmainId = postmainId;
        this.body = body;
        this.isDelete = isDelete;
    }

    public Integer getPostbodyId() {
        return postbodyId;
    }

    public void setPostbodyId(Integer postbodyId) {
        this.postbodyId = postbodyId;
    }

    public Integer getPostmainId() {
        return postmainId;
    }

    public void setPostmainId(Integer postmainId) {
        this.postmainId = postmainId;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public Boolean getDelete() {
        return isDelete;
    }

    public void setDelete(Boolean delete) {
        isDelete = delete;
    }
}
